package com.study_online.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 张天霸
 *
 * 帖子回复类
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("forum_comments")
public class ForumComments extends Model<ForumComments> {

    @TableId(value = "commentId",type = IdType.AUTO)
    private Integer commentId;
    private Integer childpostId;
    private String comment_content;
    private Integer uid;
    private Integer comment_like;
    @TableField("addTime")
    private String addTime;
    @TableField("updateTime")
    private String updateTime;
}